/*******************************************************************\
| PMHash.cuh
|
| CREATED:		8.6.2009
| DESCRIPTION:
| 
| Spatial Hashing photon mapping - CUDA implementation
\********************************************************************/
#ifndef PMHASH_H
#define PMHASH_H


extern "C" void* PerformHashing(void* p_Photons, unsigned int p_Elements, float* p_BBMin, 
								float* p_BBMax, float p_MaxRadius, unsigned int p_Timer);

extern "C" void HashSearch(void* p_HashMap, float* p_Queries, unsigned int p_NumPoints, 
						   float p_MaxDist, unsigned int p_MaxPhotons, void* p_SqDist, 
						   void* p_Powers);

extern "C" void CleanUpHash(void* p_HM);

#endif // PMHASH_H
